package cn.xiaopengstack.domain.activity.model.dto;

import cn.xiaopengstack.domain.activity.model.valobj.GroupBuyActivityDiscountVO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author jiangyangang
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class DiscountCalculateDTO {

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 原始价格
     */
    private BigDecimal originalPrice;

    /**
     * 团购活动折扣配置值对象
     */
    private GroupBuyActivityDiscountVO.GroupBuyDiscount groupBuyDiscount;
}
